package edu.ihs.lhpy.domain;

import java.util.Date;

public class News {
	private Long id;
	private String title;
	private String shotTitle;
	private Date time;
	private String author;
	private String content;
	private Institute institute;
	
	public News(){
		
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getShotTitle() {
		return shotTitle;
	}
	public void setShotTitle(String shotTitle) {
		this.shotTitle = shotTitle;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Institute getInstitute() {
		return institute;
	}
	public void setInstitute(Institute institute) {
		this.institute = institute;
	}
	public News(Long id, String title, String shotTitle, Date time,
			String author, String content, Institute institute) {
		super();
		this.id = id;
		this.title = title;
		this.shotTitle = shotTitle;
		this.time = time;
		this.author = author;
		this.content = content;
		this.institute = institute;
	}
	
	

}
